﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Multiprocessing.Core.Units
{
    public interface IProcessingUnit : IDisposable
    {
        event EventHandler Finished;
        void Start();
        void ForceStop();
        void Wait();
        bool IsRunning { get; }
        Action Action { get; set; }
    }
}
